﻿<UserControl x:Class="Rio.Application.RioWeb.NavigationPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
             xmlns:applicationNavigation="clr-namespace:Rio.Framework.Pages.AppCode.ApplicationNavigation;assembly=Rio.Framework.Pages"
             SizeChanged="ApplicationPageSizeChanged"
             mc:Ignorable="d">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition />
        </Grid.RowDefinitions>

        <sdk:Frame x:Name="applicationFrame">
            <sdk:Frame.ContentLoader>
                <sdk:PageResourceContentLoader />
            </sdk:Frame.ContentLoader>

            <sdk:Frame.UriMapper>
                <sdk:UriMapper>
                    <sdk:UriMapping Uri=""
                                    MappedUri="/Home/Views/HomeView.xaml" />
                    <sdk:UriMapping Uri="/Home"
                                    MappedUri="/Home/Views/HomeView.xaml" />
                    <sdk:UriMapping Uri="/Login"
                                    MappedUri="/Home/Views/LoginView.xaml" />
                    <sdk:UriMapping Uri="/Import"
                                    MappedUri="/Import/Views/ImportView.xaml" />
                    <sdk:UriMapping Uri="/Flow"
                                    MappedUri="/Flow/Views/FlowView.xaml" />
                    <sdk:UriMapping Uri="/Search"
                                    MappedUri="/Search/Views/SearchView.xaml" />
                </sdk:UriMapper>
            </sdk:Frame.UriMapper>
        </sdk:Frame>

    </Grid>
</UserControl>
